package controller;




import com.iflysse.pojo.vo.common.CommonVoResp;
import com.iflysse.pojo.vo.req.AddChapterVoReq;
import com.iflysse.pojo.vo.req.ChapterIdVoReq;
import com.iflysse.pojo.vo.req.ChapterVoReq;
import com.iflysse.pojo.vo.resp.ChapterVoResp;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController

@RequestMapping("/chapter")

@Api(value = "老师端章的接口")

public class ChapterController {
    /**

     * 删除章

     */
    @PostMapping("/deleteChapter")
    @ApiOperation("老师端删除章接口")
    public CommonVoResp deleteChapter(ChapterIdVoReq chapterIdVoReq){
        CommonVoResp commonVoResp=new CommonVoResp();
        return commonVoResp;
    }
    @PostMapping("/addChapter")
    @ApiOperation("老师端创建章接口")
    public CommonVoResp addChapter(AddChapterVoReq addChapterVoReq){
        CommonVoResp commonVoResp=new CommonVoResp();
        return commonVoResp;
    }
    @PostMapping("/queryAllChapter")
    @ApiOperation("根据课程编号查询章列表接口")
    public ChapterVoResp queryAllChapter(ChapterVoReq chapterVoReq){
        ChapterVoResp chapterVoResp=new ChapterVoResp();
        return chapterVoResp;
    }






}
